<template>
     <div class="miaosha">
            <div class="left">
                限时秒杀
            </div>
            <div class="right">
                <ul>
                    <li v-for="item in miaoshalist"  @click="$router.push('/xq/'+item.proid)">
                        <img :src="item.img1" alt="" width="65px">
                        <span>￥{{ item.originprice }}</span>
                    </li>
                </ul>
            </div>
        </div>
</template>
<script>
    export default {
        props:['miaoshalist']
    }
</script>

<style lang="less" scoped>

.miaosha {
            width: 90%;
            height: 96px;
            margin: 0 auto;
            display: flex;
            justify-content: space-evenly;
            background-color: pink;
        }
.miaosha>.left {
            width: 96px;
            height: 96px;
        }
.miaosha>.right {
            height: 96px;
            flex: 1;
            overflow-x: auto;
            background-color: #fff;
            border-radius: 10px;
        }
        .miaosha>.right>ul {
            display: flex;
            flex-shrink: 0;
            gap: 0 10px;
        }
        .miaosha>.right>ul>li{
            // padding: 8px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
        span{
            color: pink;
        }
</style>